package com.ant.product.rest.seckill;

import com.ant.product.seckill.service.SeckillService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/api/seckill/v1")
public class SeckillRestful {
    @Resource
    private SeckillService seckillService;
    @RequestMapping("/test")
    public String test() {
        return seckillService.test();
    }
}
